import { Button as AntdButton } from "antd";
import { CommonComponenetProps } from "../../interface";

const Button = ({ id, type, text, styles, ...props }: CommonComponenetProps) => {
    return (
        <AntdButton type={type} style={styles} {...props}>{text}</AntdButton>
    )
}

export default Button